Update speech model options to universal-3-pro and universal-2#83
Merged
Conversation
The SDK's SpeechModel enum stops at the legacy generation (best, nano, slam-1, universal); the current models (universal-3-pro, universal-2) are requested through its newer speech_models list parameter. Replace the option's type with a CLI-level enum covering the union and route each choice through the SDK parameter that accepts it. https://claude.ai/code/session_01Ra3Q7AeGdx6uFxTtc7dL1K
Only the current generation (universal-3-pro, universal-2) remains, so every choice rides the SDK's speech_models list parameter and the legacy-routing helper goes away. https://claude.ai/code/session_01Ra3Q7AeGdx6uFxTtc7dL1K
alexkroman
enabled auto-merge (squash)
June 11, 2026 23:41
CI forces color on (Rich under GITHUB_ACTIONS), interleaving style codes mid-message, so the literal substring check failed there while passing locally. Strip SGR codes first, matching test_help_rendering. https://claude.ai/code/session_01Ra3Q7AeGdx6uFxTtc7dL1K
Swap the dataset suggestions in the docstring and examples for the ASR suite used by tiny-audio (librispeech, tedlium, earnings22, spgispeech, ami, gigaspeech, peoples_speech, common_voice_17_0, voxpopuli, switchboard, expresso, LoquaciousSet) plus talkbank/callhome for DER, with the --subset/--split/--audio-column flags each needs. https://claude.ai/code/session_01Ra3Q7AeGdx6uFxTtc7dL1K
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates the
evalcommand to use the current-generation speech models (universal-3-proanduniversal-2) instead of the legacy model enum, aligning with the SDK's newerspeech_modelslist parameter.Key Changes
EvalSpeechModelenum withuniversal-3-proanduniversal-2options to replace the legacyaai.SpeechModelenum--speech-modeloption to use the new enum and validate against only current-generation modelsbest,nano,slam-1,universal) with a usage errorspeech_models=[model.value](list parameter) instead ofspeech_model=(legacy enum parameter)universal-3-proinstead ofuniversalassemblyai as aaiimport from test fileImplementation Details
speech_modelsparameter is only set when a model is explicitly provided; it remainsNoneif omitted (preserving SDK defaults)https://claude.ai/code/session_01Ra3Q7AeGdx6uFxTtc7dL1K